package mapstruct;

public class Education {
    private String degreeName;
    private String institute;
    private Integer yearOfPassing;
    // getters and setters or builder

    public Education(final String degreeName, final String institute, final Integer yearOfPassing) {

        this.degreeName = degreeName;
        this.institute = institute;
        this.yearOfPassing = yearOfPassing;
    }

    public String getDegreeName() {

        return degreeName;
    }

    public void setDegreeName(final String degreeName) {

        this.degreeName = degreeName;
    }

    public String getInstitute() {

        return institute;
    }

    public void setInstitute(final String institute) {

        this.institute = institute;
    }

    public Integer getYearOfPassing() {

        return yearOfPassing;
    }

    public void setYearOfPassing(final Integer yearOfPassing) {

        this.yearOfPassing = yearOfPassing;
    }

}